#include "junix.h"
using namespace std;


class Base
{
	public:
		void f(){
			cout<<"Base::f()"<<endl;
		}

		virtual void g()=0;
	protected:
	private:

};


class Derived:public Base
{
	/*
	void f(int i)
	{

		cout<<"Derived::f(int i)"<<endl;
	}
	*/


	void g() { }
	private:
		void f(int i){ }

};
			  

int main(int argc, char **argv)
{
	Derived d;
	d.Base::f();

	Base *pb = new Derived;
	pb->f();
	pb->g();

}
